
using Qdb.CS.Internal.Objectexchange;
using Qdb.Internal;
using Qdb.Internal.Slots;

namespace Qdb.CS.Internal.Objectexchange
{
	public class StandardSlotAccessor : ISlotAccessor
	{
		private LocalTransaction _transaction;

		public StandardSlotAccessor(LocalTransaction transaction)
		{
			_transaction = transaction;
		}

		public virtual Slot CurrentSlotOfID(int id)
		{
			return _transaction.GetCurrentSlotOfID(id);
		}
	}
}
